package com.moduls.interfaceFunction.excel.export;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 供应商订单
 * @author pc
 *
 */
public class SupplyBean {

	private String create_time;
	private String company;
	private String real_pay_amount;
	private String hexiao_status;
	
	public SupplyBean() {
		
	}
	public SupplyBean(Map<String, Object> map) {
		if (!(map.get("create_time") == null || map.get("create_time").equals(""))) {
    		this.create_time = map.get("create_time").toString();
		}
    	if (!(map.get("company") == null || map.get("company").equals(""))) {
    		this.company = map.get("company").toString();
		}
    	if (!(map.get("real_pay_amount") == null || map.get("real_pay_amount").equals(""))) {
    		this.real_pay_amount = map.get("real_pay_amount").toString();
		}
    	if (!(map.get("hexiao_status") == null || map.get("hexiao_status").equals(""))) {
    		this.hexiao_status = map.get("hexiao_status").toString();
		}
	}
	
	public static List<SupplyBean> getBean(List<Map<String, Object>> list) {
		List<SupplyBean> supplyBeans = null;
		if (list != null && list.size() > 0) {
			supplyBeans = new ArrayList<>();
			for (Map<String, Object> map : list) {
				supplyBeans.add(new SupplyBean(map));
			}
		}
		return supplyBeans;
	}
	
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getReal_pay_amount() {
		return real_pay_amount;
	}
	public void setReal_pay_amount(String real_pay_amount) {
		this.real_pay_amount = real_pay_amount;
	}
	public String getHexiao_status() {
		return hexiao_status;
	}
	public void setHexiao_status(String hexiao_status) {
		this.hexiao_status = hexiao_status;
	}
	
}
